package com.kingt.social.oauth;

import android.content.Context;
import android.os.Handler;

public abstract class OAuth {

	public static final String QQ_APP_ID = "100302308";

	public static final String QQ_APP_KEY = "05034bda0f6fee9eb5ae2751915fd264";

	public static final String RENREN_APP_ID = "203148";

	public static final String RENREN_APP_KEY = "1fe6847a5ab54e26a0bcd9133bc65b9d";

	public static final String RENREN_APP_SECRET = "06e420b4c2fd4f50bddd8a1ed7dd547d";

	protected Context mContext;

	protected OAuth(Context ctx) {
		mContext = ctx;
	}

	public abstract void login(Handler handler);

	public abstract void logout(Handler handler);

	public abstract void getProfile(String uid, Handler handler);

	public abstract boolean isTokenValidate();
}
